Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add SSL Support for Redis in Celery #2382 #2383

Closed

Conversation

ThomaciousD
Copy link
Contributor

Description

This pull request adds support for Redis connections over SSL in the Celery configuration. It introduces new environment variables for SSL configuration, including REDIS_SSL, REDIS_SSL_CERT_REQS, and REDIS_SSL_CA_CERTS.

How Has This Been Tested?

Tested in live environment using a Redis instance with SSL server configured.

Accepted Risk

Misconfiguration of the SSL for Redis will lead to a fallback to the standard redis without SSL connexion, thus failing to process with a probable Connection Reset by Peer error.

Related Issue(s)

Checklist:

  • All of the automated tests pass
  • All PR comments are addressed and marked resolved
  • If there are migrations, they have been rebased to latest main
  • If there are new dependencies, they are added to the requirements
  • If there are new environment variables, they are added to all of the deployment methods
  • If there are new APIs that don't require auth, they are added to PUBLIC_ENDPOINT_SPECS
  • Docker images build and basic functionalities work
  • Author has done a final read through of the PR right before merge

Copy link

vercel bot commented Sep 10, 2024

@ThomaciousD is attempting to deploy a commit to the Danswer Team on Vercel.

A member of the Team first needs to authorize it.

@rkuo-danswer rkuo-danswer self-assigned this Sep 10, 2024
@rkuo-danswer
Copy link
Contributor

Hi Thomas, thanks so much for this PR! This touches a file we just changed, so I've adapted your PR into a new one at #2389. Going to close this PR out but the new one should cover it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

### Feature Request: Add SSL Support for Redis in Celery
2 participants